package io.renren.modules.yckj.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 优惠券管理
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2025-04-16
 */
@Data
@Schema(title =  "优惠券管理")
public class CouponsDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@Schema(title ="主键")
	private Long id;

	@Schema(title ="标题")
	private String title;

	@Schema(title ="内容")
	private String content;

	@Schema(title ="链接")
	private String url;

	@Schema(title ="优惠券数量")
	private Integer num;

	@Schema(title ="已领取数量")
	private Integer received;

	@Schema(title ="图片")
	private String image;

	@Schema(title ="是否结束:0否，1是")
	private Integer status;

	@Schema(title ="优惠券类型，0：无门槛，1满减")
	private Integer type;

	@Schema(title =" 分发类型：0用户领取，1主动分发")
	private Integer distributionType;

	@Schema(title ="最少金额")
	private BigDecimal minAmount;

	@Schema(title ="优惠金额")
	private BigDecimal discount;

	@Schema(title ="有效时间")
	private Date deadlineTime;

	@Schema(title ="开始时间")
	private Date startTime;

	@Schema(title ="结束时间")
	private Date endTime;

	@Schema(title ="创建时间")
	private Date createTime;

	@Schema(title ="更新时间")
	private Date updateTime;


}